import turtle
def drawPolygon(x=0,y=0,radius=50,numberOfSides=3):
    turtle.penup()
    turtle.goto(x-radius,y)
    turtle.pendown()
    turtle.circle(radius,steps=numberOfSides)

for i in range(3,9):
    drawPolygon(x=-600+120*i,numberOfSides=i)

turtle.done()

